<?php if(!defined('A')) exit;?>
<div class="diggbox digg_good" onmousemove="this.style.backgroundPosition='left bottom';" onmouseout="this.style.backgroundPosition='left top';" onclick="postDigg('good',<?php echo $data['id']?>)">
    <div class="digg_act">顶一下</div>
    <div class="digg_num">(<?php echo $data['goodpost']?>)</div>
    <div class="digg_percent">
        <div class="digg_percent_bar"><span style="width:<?php echo $data['goodper']?>%"></span></div>
        <div class="digg_percent_num"><?php echo $data['goodper']?>%</div>
    </div>
</div>
<div class="diggbox digg_bad" onmousemove="this.style.backgroundPosition='right bottom';" onmouseout="this.style.backgroundPosition='right top';" onclick="postDigg('bad',<?php echo $data['id']?>)">
    <div class="digg_act">踩一下</div>
    <div class="digg_num">(<?php echo $data['badpost']?>)</div>
    <div class="digg_percent">
        <div class="digg_percent_bar"><span style="width:<?php echo $data['badper']?>%"></span></div>
        <div class="digg_percent_num"><?php echo $data['badper']?>%</div>
    </div>
</div>